package strategy.order;

import java.math.BigDecimal;

/**
 * N元购
 * @author Fengdong.Duan
 * @create 2023/12/5 10:55
 */
public class NYGCouponDiscount implements ICouponDiscount<Double> {
    /**
     *  n元购购买
     *  无论原价多少钱都固定金额购买
     */
    @Override
    public BigDecimal discountAmount(Double couponInfo, BigDecimal skuPrice) {
        return new BigDecimal(couponInfo);
    }
}
